<template>
  <div>child5组件 - {{ oddArr }}</div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  computed: {
    // arr() {
    //   // return this.$store.state.arr.filter((item) => item % 2);
    //   return this.$store.getters.oddArr;
    // },
    ...mapGetters(["oddArr"]),
  },
};
</script>
